package com.feicheng.service;

import com.feicheng.base.result.Result;
import com.feicheng.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("PROVIDERPROCUREMENT")
public interface ProviderUserController {

    /**
     * @param user 业务参数 （查询条件）
     * @author yvming.gao
     * @return
     */
    @PostMapping("/user/info/g")
    Result getUserInfo(@RequestBody User user);

}
